//
//  JCMessageNoticeContent.swift
//  JChat
//
//  Created by JIGUANG on 2017/3/9.
//  Copyright © 2017年 HXHG. All rights reserved.
//

import UIKit
import MTCategory

open class JCMessageGiftNotiyContent: NSObject, JCMessageContentType {
    public weak var delegate: JCMessageDelegate?
    
    open var layoutMargins: UIEdgeInsets = .zero
    
    open class var viewType: JCMessageContentViewType.Type {
        return JCMessageGiftNotiyContentView.self
    }
    
    public init(_ extras: Dictionary<String,Any>) {
        self.extras = extras
        super.init()
    }
    
    open var userName: String?
    open var appKey: String?
    
    open var extras: [String : Any]?
    
    open func sizeThatFits(_ size: CGSize) -> CGSize {
        return .zero
    }
}
